//
//  PBAccountDetailCell.h
//  PBHomeDemo
//
//  Created by Playboy on 2018/5/30.
//  Copyright © 2018年 tmkj. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PBAccountListModel.h"

@protocol PBAccountDetailCellDelegate<NSObject>
- (void)addMoney:(NSString *)money;
- (void)reduceMoney:(NSString *)money;
- (void)clearMoney;
- (void)allSelected;
- (void)notAllSelected;
@end

@interface PBAccountDetailCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIButton *selectButton;
@property (nonatomic, weak)id<PBAccountDetailCellDelegate>delegate;


- (void)refreshWithArray:(NSMutableArray *)array indexPath:(NSIndexPath *)indexPath isLife:(BOOL)isLife;
- (IBAction)selectMethodClick:(UIButton *)sender;

@end
